export default {
  path: '/employees',
  name: 'employees',
  component: () => import('@/layout'),
  children: [{
    path: '',
    name: 'employees',
    component: () => import('@/views/employees'),
    meta: {
      title: '员工',
      icon: 'people'
    }
  }, {
    path: 'userInfo/:id/:total',
    component: () => import('@/views/userInfo'),
    props: true,
    hidden: true
  }, {
    path: 'work/:id',
    component: () => import('@/views/userInfo/components/work.vue'),
    hidden: true,
    meta: {
      title: '打印', // 标记当前路由规则的中文名称 后续在做左侧菜单时 使用
      icon: 'people'
    }
  }]
}
